import axios from "@/axios.js"

export function queryCategoryList() {
    return axios.get("/category/list")
}

export function queryArticleByCategoryId(current, size, id) {
    const data = {
        "current": current,
        "size": size,
        "id": id
    }
    return axios.post("/category/article/list", data)
}